package com.school.graduation.internet;

import com.school.graduation.bean.SignCallBack;

import retrofit2.Call;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

public interface SignInterface {
    @FormUrlEncoded
    @POST("user/signup")
    Call<SignCallBack> signUp(@Field("name")String name, @Field("password")String password, @Field("email")String email, @Field("city")String city);

    @FormUrlEncoded
    @POST("user/signin")
    Call<SignCallBack> signIn(@Field("name")String name, @Field("password")String password);
}
